function Timing(){
	setInterval(()=>{
		clock.innerHTML=Date().substr(16,8);
	},500);
}

document.write('<p id="clock">--:--:--</p>')
let clock=document.getElementById('clock');
Timing();
